/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm;

import java.io.Serializable;
public class Solution implements Serializable {
	public Solution() {
	}
	
	private int idSolution;
	
	private String solution;
	
	private orm.Diagnose diagnoseidDiag;
	
	private void setIdSolution(int value) {
		this.idSolution = value;
	}
	
	public int getIdSolution() {
		return idSolution;
	}
	
	public int getORMID() {
		return getIdSolution();
	}
	
	public void setSolution(String value) {
		this.solution = value;
	}
	
	public String getSolution() {
		return solution;
	}
	
	public void setDiagnoseidDiag(orm.Diagnose value) {
		if (this.diagnoseidDiag != value) {
			orm.Diagnose ldiagnoseidDiag = this.diagnoseidDiag;
			this.diagnoseidDiag = value;
			if (value != null) {
				diagnoseidDiag.setSolution(this);
			}
			else {
				ldiagnoseidDiag.setSolution(null);
			}
		}
	}
	
	public orm.Diagnose getDiagnoseidDiag() {
		return diagnoseidDiag;
	}
	
	public String toString() {
		return String.valueOf(getIdSolution());
	}
	
}
